package com.cdplife.ci.modular.system.dao;

import com.baomidou.mybatisplus.plugins.Page;
import com.cdplife.ci.core.common.annotion.DataAccess;
import com.cdplife.ci.modular.system.model.Policy;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;
/**
 * <p>
 * 保单合同表 Mapper 接口
 * </p>
 *
 * @author jers
 * @since 2018-11-07
 */
public interface PolicyMapper extends BaseMapper<Policy> {
    /**
     * 获取操作日志
     */
	@DataAccess(value={401},key={"insuranceId"})
    List<Map<String, Object>> getPolicyList(@Param("page") Page<Policy> page, @Param("policyCode") String policyCode, @Param("policyStauts") Integer policyStauts, @Param("orderByField") String orderByField, @Param("isAsc") boolean isAsc);

}
